package com.android.happymall.model.auction;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/10/19.
 */

public class Orderts_HistoryData {
    private boolean flag;
    private int code;
    private String msg;
    private int time;
    private DataBean data;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }
    public static class  DataBean
    {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }
        public static class  ListBean implements MultiItemEntity {
            private int itemType;
            public static final int THREE = 3;
            public ListBean(int itemType) {
                this.itemType = itemType;
            }
            public ListBean(int itemType,String id, ArrayList<String> thumbs,String mid,
                            String content,String star,String c_time
                    ,String username,String title,String photo) {
                this.itemType = itemType;
                this.id = id;
                this.thumbs = thumbs;
                this.mid = mid;
                this.content = content;
                this.star = star;
                this.c_time = c_time;
                this.username = username;
                this.title =title;
                this.photo = photo;

            }
            @Override
            public int getItemType() {
                return itemType;
            }
            private String id;
            private  ArrayList<String> thumbs;
            private String mid;
            private String content;
            private  String star;
            private String c_time;
            private String username;
            private String title;
            private String photo;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public ArrayList<String> getThumbs() {
                return thumbs;
            }

            public void setThumbs( ArrayList<String> thumbs) {
                this.thumbs = thumbs;
            }

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getC_time() {
                return c_time;
            }

            public void setC_time(String c_time) {
                this.c_time = c_time;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getStar() {
                return star;
            }

            public void setStar(String star) {
                this.star = star;
            }
        }
    }
}
